<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:31:"template/homes/index/index.html";i:1620287497;s:46:"/www/wwwroot/zhitu1/template/homes/header.html";i:1620288014;s:46:"/www/wwwroot/zhitu1/template/homes/footer.html";i:1620287413;s:42:"/www/wwwroot/zhitu1/template/homes/qq.html";i:1620287483;}*/ ?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title><?php echo $web_config['web_title']; ?>-专业礼品代发平台-淘宝ab单最佳选择</title>
        <link href="//cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
        <link href="/assets/css/index.css" rel="stylesheet">
        <link rel="stylesheet" href="/assets/css/diy.css">
        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!--[if lt IE 9]>
            <script src="//cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script>
            <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
             		<script src="http://zhitu.tuyingteam.com/static/js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script type="text/javascript" src="http://zhitu.tuyingteam.com/static/js/kefu.js"></script>

<style>
	.footer_kf { height:100px; width:100%; position:fixed; bottom:0; left:0; z-index:8888;}
	.fd_box { height:117px; position:fixed; width:100%; bottom:0; left:0; z-index:666;}
	.fd_box01 { width:100%; height:70px; position:fixed; bottom:0; background:url(http://zhitu.tuyingteam.com/static/images/db_img09.png);}
	.fd_box02 { margin:0 auto; width:1000px; height:117px; position:relative; bottom:0; z-index:888;}
	.fd_gb { width:20px; height:20px; margin:10px 0 0 0; position:absolute; right:0; top:0;}
	.fd_tu { width:936px; height:145px; position:absolute; bottom:18px; left:0;}
	.fd_left { display:block; width:141px; height:120px; position:fixed; left:0; bottom:25%; background:url(http://zhitu.tuyingteam.com/static/images/db_img08.png) no-repeat left top;}
	.yqlj_box a { display:block; float:left; padding:0 10px; height:26px; line-height:26px; color:#666; margin:0 10px 5px 5px}
	.yqlj_box a:hover { color:#f31c1c;}
</style>
    </head>

    <body>
       		<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#header-navbar">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="/" style="padding:6px 15px;"><img src="../assets/img/logo.png" style="height:40px;" alt=""></a>
                </div>
                <div class="collapse navbar-collapse" id="header-navbar">
                    <ul class="nav navbar-nav navbar-right">
                        <li><a href="/" >首页</a></li>
                        <li><a href="<?php echo url("goods/index"); ?>" >礼品代发商城</a></li>
                        <li><a href="<?php echo url('notice/lists',array('id'=>3)); ?>" >常见问题</a></li>
                        <li><a href="http://lipin.maer.pro" target="_blank" >2.0演示</a></li>
                        <li><a href="http://demo.maer.pro" target="_blank">3.0演示</a></li>
                        <li><a href="http://zhitu1.maer.pro/manage.php" target="_blank">后台管理</a></li>
						<?php if(empty(session('user_id_'.$web_config['sub_id']))): ?>
						<li><a href="<?php echo url("index/login"); ?>"><i class="fa fa-sign-in fa-fw"></i> 登 录</a></li>
						<li><a href="<?php echo url("index/reg"); ?>"><i class="fa fa-user-o fa-fw"></i> 注 册</a></li>
						<?php else: ?>
						<li><a href="<?php echo url('user/index'); ?>">您好：<?php echo session('user_phone_'.$web_config['sub_id']); ?></a></li>
						<li><a href="<?php echo url('index/outlogin'); ?>"><i class="fa fa-sign-out fa-fw"></i>退出</a></li>
						<?php endif; ?>
                    </ul>
                </div>
            </div>
        </nav>
       <main class="content">
		<div id="myCarousel" class="carousel slide page-index section fp-auto-height" data-ride="carousel" data-interval="5000">
			<ol class="carousel-indicators">
				<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
				<li data-target="#myCarousel" data-slide-to="1" class=""></li>
			</ol>
		<div class="carousel-inner">
		 <div class="item bgimg-01 active">
            <div class="container">
                <div class="pro-con pull-left">
                    <h1 class="animated bounceInDown">
                        礼品一站式采购
                    </h1>
                    <p class="animated slideInRight">
                        一件礼品代发,价格实惠，送客户，送朋友的好选择<br/>全国多个仓库发货，真实签收，运费低至2元
                    </p>
                    <a href="<?php echo url('goods/index'); ?>" class="btn btn-primary animated fadeInUp">
                        了解详情
                    </a>
                </div>
            </div>
         </div>
        <div class="item bgimg-02">
            <div class="container">
                <div class="pro-con pull-right">
                    <h1 class="animated slideInRight">
                        礼品商城正式上线
                    </h1>
                    <p class="animated slideInLeft">
                        更多选择，更多惊喜。全国发货，运费低至2元，多仓发货，欢迎下单选择。
                    </p>
                    <a href="<?php echo url('goods/index'); ?>" class="btn btn-primary animated fadeInUp">
                        立即购买
                    </a>
                </div>
            </div>
		</div>
	   </div>	
		<a class="carousel-control left" href="#myCarousel" data-slide="prev">
			<svg version="1.1" id="_x31_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 28 87" enable-background="new 0 0 28 87" xml:space="preserve">
				<polygon fill-rule="evenodd" clip-rule="evenodd" fill="#fff" points="2.6,43.3 27.6,1.6 25.9,0.5 0.3,43.3 0.3,43.3 0.3,43.3 ,0.3,43.3 0.3,43.3 26,86.5 27.7,85.4 ">
				</polygon>
			</svg>
		</a>
		<a class="carousel-control right" href="#myCarousel" data-slide="next">
			<svg version="1.1" id="_x30_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 28 87" enable-background="new 0 0 28 87" xml:space="preserve">
				<polygon fill-rule="evenodd" clip-rule="evenodd" fill="#fff" points="25.4,43.7 0.4,85.4 2.1,86.5 27.7,43.7 27.7,43.7 ,27.7,43.7 27.7,43.7 27.7,43.7 2,0.5 0.3,1.6 ">
				</polygon>
			</svg>
		</a>
	  </div>
     <section class="addon-section">
		<div class="container">
			<div class="text-line"><h5><span>精选商品</span></h5></div>
				<div class="addon-filter">
					<ul class="nav nav-pills hidden-xs tab">
						<li role="presentation" class="active"><a href="<?php echo url("goods/index"); ?>">全部</a></li>
						<?php if(is_array($warehouse) || $warehouse instanceof \think\Collection || $warehouse instanceof \think\Paginator): $i = 0; $__LIST__ = $warehouse;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
							<li role="presentation"><a href="<?php echo url('goods/lists',array('wid'=>$vo['w_id'])); ?>" rel="nofollow"><?php echo $vo['w_title']; ?></a></li>
						<?php endforeach; endif; else: echo "" ;endif; ?>
					</ul>
					<div class="addon-post btn-group pull-right"><a href="<?php echo url("goods/index"); ?>" class="btn btn-default"> 更多 </a></div>
				</div>
				<div class="addon-list">
					<div class="row">
						<?php if(is_array($gift) || $gift instanceof \think\Collection || $gift instanceof \think\Paginator): $i = 0; $__LIST__ = $gift;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
						<div class="col-lg-3 col-md-4 col-xs-6 grid-item">
							<div class="addon-item"><div class="tags tags-recommend"></div>
								<div class="addon-img">
									<a href="<?php echo url('goods/content',array('id'=>$vo['gift_id'])); ?>" title="<?php echo $vo['gift_title']; ?>">
										<img src="<?php echo $vo['gift_img']; ?>" alt="<?php echo $vo['gift_title']; ?>" class="img-responsive" width="300" height="200">
									</a>
								</div>
								<div class="addon-info">
									<div class="title">
										<a href="<?php echo url('goods/content',array('id'=>$vo['gift_id'])); ?>" target="_blank" title="<?php echo $vo['gift_title']; ?>"><?php echo $vo['gift_title']; ?></a>
									</div>
									<div class="metas clearfix"> 
										<span class="text-danger"><i class="fa fa-rmb"></i><?php echo $vo['gift_money']; ?></span>  
										<span class="addon-price"><a href="<?php echo url('goods/content',array('id'=>$vo['gift_id'])); ?>" class="btn btn-primary btn-sm active" role="button">立即购买</a></span> 
									</div>
								</div>
							</div>
						</div>
						<?php endforeach; endif; else: echo "" ;endif; ?>

					</div>
				</div>
            <div class="row user-dashboard">
                <div class="col-md-6">
                    <div class="panel panel-default index-discussionlist">
                        <div class="panel-heading">
                            <h3 class="panel-title"><a href="<?php echo url('notice/lists',array('id'=>3)); ?>">帮助说明</a>
                              <span class="text-muted pull-right"><a href="<?php echo url('notice/lists',array('id'=>3)); ?>"> 更多</a></span></h3>
                        </div>
                        <div class="panel-body row">
                            <ul class="list-unstyled">
								<?php if(is_array($notice_1) || $notice_1 instanceof \think\Collection || $notice_1 instanceof \think\Paginator): $i = 0; $__LIST__ = $notice_1;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
								<li>
                                    <p class="clearfix">
                                        <a href="<?php echo url('notice/content',array('id'=>$vo['n_id'])); ?>" class="pull-left"><?php echo $vo['n_title']; ?></a>
                                        <span class="text-muted pull-right"><?php echo date('Y-m-d',(strtotime($vo['n_addtime']))); ?></span>
                                    </p>
                                </li>
								<?php endforeach; endif; else: echo "" ;endif; ?>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="panel panel-default index-discussionlist">
                        <div class="panel-heading">
                            <h3 class="panel-title"><a href="<?php echo url('notice/lists',array('id'=>4)); ?>">网站公告</a>
                           <span class="text-muted pull-right"><a href="<?php echo url('notice/lists',array('id'=>4)); ?>"> 更多</a></span></h3>
                        </div>
                        <div class="panel-body row">
                            <ul class="list-unstyled">
                                <?php if(is_array($notice_2) || $notice_2 instanceof \think\Collection || $notice_2 instanceof \think\Paginator): $i = 0; $__LIST__ = $notice_2;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
								<li>
                                    <p class="clearfix">
                                        <a href="<?php echo url('notice/content',array('id'=>$vo['n_id'])); ?>" class="pull-left"><?php echo $vo['n_title']; ?></a>
                                        <span class="text-muted pull-right"><?php echo date('Y-m-d',(strtotime($vo['n_addtime']))); ?></span>
                                    </p>
                                </li>
								<?php endforeach; endif; else: echo "" ;endif; ?>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            
			</div>
	  </section>
     </main>
			<footer style="clear:both">
            <div class="container">
                <p>&copy; 2020 <?php echo $web_config['web_title']; ?> All Rights Reserved.</p>
            </div>
		</footer>

	      <script src="/assets/js/require.min.js"></script>

       <script type="text/javascript">
           function OnlineOver(){
               document.getElementById("aFloatTools_Show").style.display = "none";
               document.getElementById("divFloatToolsView").style.display = "block";
               document.getElementById("aFloatTools_Hide").style.display = "block";
               document.getElementById("floatTools").style.width = "190px";
           }
           function OnlineOut(){
               document.getElementById("aFloatTools_Show").style.display = "block";
               document.getElementById("aFloatTools_Hide").style.display = "none";
               document.getElementById("divFloatToolsView").style.display = "none";
               document.getElementById("floatTools").style.width = "36px";
           }
           if(typeof(HTMLElement)!="undefined")    //给firefox定义contains()方法，ie下不起作用
           {
               HTMLElement.prototype.contains=function(obj)
               {
                   while(obj!=null&&typeof(obj.tagName)!="undefind"){ //通过循环对比来判断是不是obj的父元素
                       if(obj==this) return true;
                       obj=obj.parentNode;
                   }
                   return false;
               };
           }
           function hideMsgBox(theEvent){ //theEvent用来传入事件，Firefox的方式
               if (theEvent){
                   var browser=navigator.userAgent; //取得浏览器属性
                   if (browser.indexOf("Firefox")>0){ //如果是Firefox
                       if (document.getElementById('divFloatToolsView').contains(theEvent.relatedTarget)) { //如果是子元素
                           return; //结束函式
                       }
                   }
                   if (browser.indexOf("MSIE")>0){ //如果是IE
                       if (document.getElementById('divFloatToolsView').contains(event.toElement)) { //如果是子元素
                           return; //结束函式
                       }
                   }
               }
               /*要执行的操作*/
               document.getElementById("aFloatTools_Show").style.display = "block";
               document.getElementById("aFloatTools_Hide").style.display = "none";
               document.getElementById("divFloatToolsView").style.display = "none";
               document.getElementById("floatTools").style.width = "36px";
           }
       </script>
       <style type="text/css">
           .rides-cs {  font-size: 12px; background:#29a7e2; position: fixed; top: 250px; right: 0px; _position: absolute; z-index: 1500; border-radius:6px 0px 0 6px;}
           .rides-cs a { color: #00A0E9;}
           .rides-cs a:hover { color: #ff8100; text-decoration: none;}
           .rides-cs .floatL { width: 36px; float:left; position: relative; z-index:1;margin-top: 21px;height: 181px;}
           .rides-cs .floatL a { font-size:0; text-indent: -999em; display: block;}
           .rides-cs .floatR { width: 130px; float: left; padding: 5px; overflow:hidden;}
           .rides-cs .floatR .cn {background:#F7F7F7; border-radius:6px;margin-top:4px;}
           .rides-cs .cn .titZx{ font-size: 14px; color: #333;font-weight:600; line-height:24px;text-align:center;}
           .rides-cs .cn ul {padding:0px;}
           .rides-cs .cn ul li { padding-top: 3px; border-bottom: solid 1px #E6E4E4;overflow: hidden;text-align:center;}
           .rides-cs .cn ul li span { color: #777;}
           .rides-cs .cn ul li a{color: #777;}
           .rides-cs .cn ul li img { vertical-align: middle; display:inline}
           .rides-cs .btnOpen, .rides-cs .btnCtn {  position: relative; z-index:9; top:25px; left: 0;  background-image: url(/assets/img/qqopen.png); background-repeat: no-repeat; display:block;  height: 146px; padding: 8px;}
           .rides-cs .btnOpen { background-position: 0 0;}
           .rides-cs .btnCtn { background-position: -37px 0;}
           .rides-cs ul li.top { border-bottom: solid #ACE5F9 1px;}
           .rides-cs ul li.bot { border-bottom: none;}
       </style>
       <div id="floatTools" class="rides-cs" style="height:266px;">
           <div class="floatL">
               <a id="aFloatTools_Show" class="btnOpen" title="查看在线客服" style="top:20px;display:block" href="javascript:OnlineOver();">展开</a>
               <a id="aFloatTools_Hide" class="btnCtn" title="关闭在线客服" style="top:20px;display:none" href="javascript:hideMsgBox()">收缩</a>
           </div>
           <div id="divFloatToolsView" class="floatR" style="display:none;height:257px;width:140px;">
               <div class="cn">
                   <h4 class="titZx">在线咨询</h4>
                   <ul>
					<li><span>财务</span> <a target="_blank" href="tencent://message/?Menu=yes&uin=<?php echo $web_config['qq_2']; ?>&Service=300&sigT=45a1e5847943b64c6ff3990f8a9e644d2b31356cb0b4ac6b24663a3c8dd0f8aa12a595b1714f9d45"><img border="0" src="assets/img/button_111.gif" alt="点击这里给我发消息" title="点击这里给我发消息"/></a></li>
					<li><span>代理</span> <a target="_blank" href="tencent://message/?Menu=yes&uin=<?php echo $web_config['qq_1']; ?>&Service=300&sigT=45a1e5847943b64c6ff3990f8a9e644d2b31356cb0b4ac6b24663a3c8dd0f8aa12a595b1714f9d45"><img border="0" src="assets/img/button_111.gif" alt="点击这里给我发消息" title="点击这里给我发消息"/></a></li>
                       <li style="border:none;"><span>每天9:00-18:00在线</span></li>
                   </ul>
               </div>
           </div>
       </div>
  
<a href="javascript:void(0)" class="fd_left icon_keifu" style="display:none;"></a>

<div class="keifu">
	<div class="footer_kf keifu_box">
		<div class="fd_box">
			<div class="fd_box01">
				<div class="fd_box02">
				<div class="fd_gb"><a href="javascript:void(0)" class="keifu_close"><img src="http://zhitu.tuyingteam.com/static/images/db_img05.png"></a></div>
				<div class="fd_tu"><a href="http://demo.maer.pro" target="_blank"><img src="http://zhitu.tuyingteam.com/static/images/db_img10.png" style="display:block;"></a></div>
				</div>
			</div>
		</div>
	</div>
</div>
    </body>
</html>